<form class="form-horizontal" method="POST" action="" onsubmit="return false" >
    <input type="hidden" name="id" value="{$data.id}" />
    <input type="hidden" name="actions" value="password" />
    <div class="form-group {if $data['id'] == UID }hide{/if}">
        <label class="col-sm-2 control-label">{$Think.lang.oldpassword}</label>
        <div class="col-sm-7"><input class="form-control" name="oldpassword" value="" placeholder="{$Think.lang.oldpassword}" type="password"></div>
    </div>
    {:widget('common/Input/index', [$data, [
        'name' => 'password',
        'title' => $Think.lang.newpassword,
        'placeholder' => $Think.lang.newpassword,
        'inputtype' => 'password',
    ]])}
    <div class="form-group">
        <label class="col-sm-2 control-label">{$Think.lang.repassword}</label>
        <div class="col-sm-7"><input class="form-control" name="repassword" value="" placeholder="{$Think.lang.repassword}" type="password"></div>
    </div>
    <div class="form-group">
        <div class="col-sm-2"></div>
        <div class="col-sm-7">
            <div class="btn-group pull-right">
                <button type="submit" class="btn btn-info pull-right submits" data-loading-text="&lt;i class='fa fa-spinner fa-spin '&gt;&lt;/i&gt; {$Think.lang.submit}">{$Think.lang.submit}</button>
            </div>
            <div class="btn-group pull-left">
                <button type="reset" class="btn btn-warning">{$Think.lang.reset}</button>
            </div>
        </div>
    </div>
</form>